package com.example.demo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class FeeRecord {
    private Integer feerecordId;

    private Double feeNeedpay;

    private Integer bookborrowId;

    private Date timePayfee;

    private String deleteFlag;

    private String ifPay;

    public Integer getFeerecordId() {
        return feerecordId;
    }

    public void setFeerecordId(Integer feerecordId) {
        this.feerecordId = feerecordId;
    }

    public Double getFeeNeedpay() {
        return feeNeedpay;
    }

    public void setFeeNeedpay(Double feeNeedpay) {
        this.feeNeedpay = feeNeedpay;
    }

    public Integer getBookborrowId() {
        return bookborrowId;
    }

    public void setBookborrowId(Integer bookborrowId) {
        this.bookborrowId = bookborrowId;
    }

    public Date getTimePayfee() {
        return timePayfee;
    }

    public void setTimePayfee(Date timePayfee) {
        this.timePayfee = timePayfee;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getIfPay() {
        return ifPay;
    }

    public void setIfPay(String ifPay) {
        this.ifPay = ifPay;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", feerecordId=").append(feerecordId);
        sb.append(", feeNeedpay=").append(feeNeedpay);
        sb.append(", bookborrowId=").append(bookborrowId);
        sb.append(", timePayfee=").append(timePayfee);
        sb.append(", deleteFlag=").append(deleteFlag);
        sb.append(", ifPay=").append(ifPay);
        sb.append("]");
        return sb.toString();
    }
}